let button_element = document.querySelector("button")
button_element.onclick = function() {
    let input_element = document.querySelectorAll("input")
    console.dir(input_element)
    let from = input_element[0].value
    let to = input_element[1].value
    let message = input_element[2].value
    console.log(from + to + message)
    let profess_element = document.querySelector(".profess")
    profess_element.innerHTML = from + "对" + to + "说：" + message
}